home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
bcsrce2.zip
/
BCDEMO3.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-10-18
|
2KB
|
109 lines
echo off
cls
echo.
echo.
echo Do you wish to use the utility menu?
chekbox3 2 38
rem if exist yes.yes goto umenu
if errorlevel 2 goto umenu
if errorlevel 1 goto NEXT2
rem ERASE no.no > nul
goto NEXT2
:UMENU
rem ERASE yes.yes > nul
UTILMEN2
PAUSE
CLS
ECHO.
ECHO This is the syntax for chekbox2 which you used to choose the menu with.
ECHO.
chekbox3
PAUSE
:NEXT2
cls
echo.
echo.
echo Do you wish to copy files?
chekbox3 2 28 no
rem if exist yes.yes goto COPYING
rem ERASE no.no > nul
if errorlevel 2 goto COPYING
if errorlevel 1 goto NEXT3
goto NEXT3
:COPYING
rem ERASE yes.yes > nul
copyd
goto NEXT3
:NEXT3
cls
echo.
echo.
echo Do you wish to see a chart of ansi.sys commands?
chekbox3 2 50
rem if exist yes.yes goto ANSIUSE
rem ERASE no.no > nul
if errorlevel 2 goto ANSIUSE
if errorlevel 1 goto NEXT4
goto NEXT4
:ANSIUSE
rem ERASE yes.yes > nul
ansi
PAUSE
goto NEXT4
:NEXT4
cls
echo.
echo.
echo Do you wish to see a chart of State abreviations?
chekbox3 2 51
rem if exist yes.yes goto STABS
rem ERASE no.no > nul
if errorlevel 2 goto STABS
if errorlevel 1 goto NEXT5
goto NEXT5
:STABS
rem ERASE yes.yes > nul
states
PAUSE
goto NEXT5
:NEXT5
cls
echo.
echo.
echo Do you wish to view all of the source code files?
chekbox3 2 51
rem if exist yes.yes goto SOURCE
rem ERASE no.no > nul
if errorlevel 2 goto SOURCE
if errorlevel 1 goto END
goto END
:SOURCE
rem ERASE yes.yes > nul
cls
bigecho COMPILABLE
echo.
echo.
echo.
bigecho .BAT FILES
mrun viewing *.bc
cls
bigecho NONCOMPILE
echo.
echo.
echo.
bigecho .BAT FILES
mrun viewing *.bat
goto END
:END
cls
echo.
bigecho Wenham's
echo These are examples of how you can utilize Wenham Software's .BAT compiler
echo for various utilitary purposes. You can quite easily replace dozens of
echo .BAT file utilities. Plus, you can distribute it in one program freely.
bigecho BATCOM
echo I am not associated with Wenham. But, I do have respect for this utility.
echo It is not only reliable but it also can be learned in a day by most peo-
echo ple who have some knowledge of .BAT programming and 123 macros or Dbase.
box2 1 1 24 80